package com.htu.courseService.courseContents.service;

import com.htu.courseService.courseContents.entity.File;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;

/**
 * Created By JNNarrator on 2025/1/12 09:26
 * email: jiangn09@chinatelecom.cn
 */
public interface FileService {
	void uploadFile(MultipartFile file,Integer directoryId);
	List<File> list(Integer directoryId);
	void downloadFile(HttpServletResponse response, Integer fileId);

	void deleteFile(Integer fileId);
}
